regexp/syntax.frag.nullable (field)
10 uses
regexp/syntax (current package)
compile.go#L62: nullable bool // whether fragment can match empty string
compile.go#L163: f := frag{i: uint32(len(c.p.Inst)), nullable: true}
compile.go#L198: return frag{f1.i, f2.out, f1.nullable && f2.nullable}
compile.go#L215: f.nullable = f1.nullable || f2.nullable
compile.go#L253: if f1.nullable {
compile.go#L262: return frag{f1.i, c.loop(f1, nongreedy).out, f1.nullable}
compile.go#L274: f.nullable = false
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)